Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix framework name lit-element to lit #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noriyotcp
Copy link

Hi, I created a project via yarn create vite-pwa fragmemo-pwa --ts

 ❯ yarn create vite-pwa fragmemo-pwa --ts
 yarn create v1.22.11
 [1/4] πŸ”  Resolving packages...
 [2/4] 🚚  Fetching packages...
 [3/4] πŸ”—  Linking dependencies...
 warning "create-vite-pwa > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
 [4/4] πŸ”¨  Building fresh packages...

 success Installed "[email protected]" with binaries:
    	- create-vite-pwa
    	- cvpwa
? Select a framework: lit-element

Scaffolding lit-element project with TypeScript in:
/Users/noriyo_tcp/MyPlayground/fragmemo-pwa
ENOENT: no such file or directory, lstat '/Users/noriyo_tcp/.config/yarn/global/node_modules/create-vite/template-lit-element-ts'

The project directory was created but it was empty!

lit-element was renamed to lit at vitejs/vite#5012

I fixed it and it seems to work fine πŸ˜„

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2021-10-23 4 39 05

 ❯ node create-vite-pwa/index.js create-vite-pwa-fixed --ts
? Select a framework: lit

Scaffolding lit project with TypeScript in:
/Users/noriyo_tcp/MyPlayground/create-vite-pwa-fixed

Done. Now run:

	cd create-vite-pwa-fixed
	npm install
	npm run dev

@noriyotcp
Copy link
Author

@Snugug

Hi, sorry for leaving this pull request alone.
If you don't mind, could you please merge it in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant